#ifndef	_COMMON_H_
#define	_COMMON_H_

#define USE_TBB_ALLOCATOR


#ifdef	USE_TBB_ALLOCATOR
 #include "tbb/scalable_allocator.h"

	void *operator new(size_t size) throw (std::bad_alloc);

	void *operator new[](size_t size) throw (std::bad_alloc);

	void *operator new(size_t size, const std::nothrow_t &) throw();

	void *operator new[](size_t size, const std::nothrow_t &) throw();

	void operator delete(void *ptr) throw();

	void operator delete[](void *ptr) throw();

	void operator delete(void *ptr, const std::nothrow_t&) throw();

	void operator delete[](void *ptr, const std::nothrow_t&) throw();

#endif	/* USE_TBB_ALLOCATOR */

#endif	/* _COMMON_H_ */
